package com.dsl;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * @Description 启动类（tomcat）
 * @Author dsl
 * @Date 2024/9/24 下午7:32
 * @Version 1.0
 */
public class CommunityServletInitializer extends SpringBootServletInitializer {

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(NewcoderApplication.class);
    }
}
